package com.ray.shirodemo1.mapper;

/**
 * User: Ray.Shaw <p />
 * Time: 2019/5/11 17:43  <p />
 * Version: V1.0  <p />
 * Description:  <p />
 */
public interface UserMapper {
    /**
     * 获得pwd
     * @param username 用户名
     */
    String getPassword(String username);

    /**
     * 获得角色权限
     * @param username 用户名
     * @return user/admin
     */
    String getRole(String username);
}
